package com.raylu.realtime.bean;

import com.alibaba.fastjson.JSON;
import lombok.Data;

/**
 * Description:
 * <p>
 * Create by lucienoz on 2021/12/25.
 * Copyright © 2021 lucienoz. All rights reserved.
 */
@Data
public class ActionBean {
    public String action_id;
    public String item;
    public String item_type;
    public String ts;

    //Page field
    public String page_id;

    //common field
    public String mid;

    //Log
    public Long log_ts;


    public ActionBean() {
    }

    public ActionBean(String action_id, String item, String item_type, String ts) {
        this.action_id = action_id;
        this.item = item;
        this.item_type = item_type;
        this.ts = ts;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
